package com.xinghou.platform.dao.main.common;

import com.xinghou.platform.dao.bases.redis.RedisOperator;
import com.xinghou.platform.util.AppContextUtil;

/**
 * Created by qingshengzheng on 16/7/7.
 */
public class DBDataConfigLevelCached {
    public static int CACHED_DB_INDEX=5;
    public static final String CACHE_DATA_CONFIG="dataconfig:type:%s";
    public static RedisOperator getRedisClient(){
        return (RedisOperator) AppContextUtil.getBean("cachedMainRedisOperator");
    }
}
